<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/12/24
  Time: 16:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>语法</title>
</head>
<body>
<%--
注释 --%>
 <%--输出在页面--%><%--输出在控制台--%>
<%
    out.println("Hello<br>");
    System.out.println("hello");
   String str="Hello";
   out.print(str);
%>

<%="hello"%>
<%!String s="def";%>
<%String s="abc";%>
<%%>

</body>
</html>
